﻿using System;
namespace GtsServer.Model
{
	/// <summary>
	/// PrizeRecord:实体类(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public partial class PrizeRecord
	{
        public PrizeRecord()
        { }
        #region Model
        private int _id;
        private int _userid;
        private int _prizeid;
        private DateTime _createtime;
        private DateTime _edittime;
        private int _state;
        private string _orderaccount;
        private string _username;
        private string _userqq;
        private string _userphone;
        private string _useraddr;
        private int _stateInfo;
        private string _pname;
        private string _uiname;
        private string _mac;
        private string _iMSI;
        private string _stateInfoName;//中文显示

        public string StateInfoName
        {
            get { return _stateInfoName; }
            set { _stateInfoName = value; }
        }

        public string IMSI
        {
            get { return _iMSI; }
            set { _iMSI = value; }
        }
        public string Mac
        {
            get { return _mac; }
            set { _mac = value; }
        }
        public string Uiname
        {
            get { return _uiname; }
            set { _uiname = value; }
        }
        public string Pname
        {
            get { return _pname; }
            set { _pname = value; }
        }
        public int StateInfo
        {
            get { return _stateInfo; }
            set { _stateInfo = value; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int ID
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int UserID
        {
            set { _userid = value; }
            get { return _userid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int PrizeID
        {
            set { _prizeid = value; }
            get { return _prizeid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime CreateTime
        {
            set { _createtime = value; }
            get { return _createtime; }
        }
        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime EditTime
        {
            set { _edittime = value; }
            get { return _edittime; }
        }
        /// <summary>
        /// 兑换状态  (1:审核中,2：处理中，3:已兑换,4：拒绝 )
        /// </summary>
        public int State
        {
            set { _state = value; }
            get { return _state; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string OrderAccount
        {
            set { _orderaccount = value; }
            get { return _orderaccount; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string UserName
        {
            set { _username = value; }
            get { return _username; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string UserQQ
        {
            set { _userqq = value; }
            get { return _userqq; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string UserPhone
        {
            set { _userphone = value; }
            get { return _userphone; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string UserAddr
        {
            set { _useraddr = value; }
            get { return _useraddr; }
        }
        #endregion Model
	}

    public class PrizeRecordShow : PrizeRecord
    {
        private string prizeName;
        private string userAccount;

        public string UserAccount
        {
            get { return userAccount; }
            set { userAccount = value; }
        }

        public string PrizeName
        {
            get { return prizeName; }
            set { prizeName = value; }
        }
    }
}

